<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Chủ đề</title>
<script src="editor/richtext_full.js"></script>
<script src="js/utils/common.js"></script>
<script src="js/topic.js"></script>
<script src="js/checklogin.js"></script>
<script src="js/utils/XHR.js"></script>
<script src="js/utils/PageBreakAdmin.js"></script>
<link href="css.css" rel="stylesheet" type="text/css">
</head>

<body>
<iframe name="iframenull" style="display:none"></iframe>
<div style="background-color:#464646">
  <div style="background-image:url(images/banner.jpg);background-position:center;background-repeat:no-repeat;height:120px" align="center">
    <div style="padding:3px;text-align:right;padding-right:20px;"><span id="username"></span> | <a href="DoLogout" style="color:#FFF">[Thoát]</a></div>
  </div>
  <div style="background-image:url(images/menu.jpg);" align="center">
    <table width="1000" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td style="font-weight:bold;padding-top:10px" id="menu"></td>
      </tr>
    </table>
  </div>
</div>
<div style="background-color:#dfdfdf;height:5px"></div>
<div align="center" style="padding-top:10px"><span style="padding:3px;visibility:hidden;font-size:11px;font-weight:bold" id="loading"><img src="images/waiting.gif" width="16" height="16" /> Vui lòng chờ</span></div>
<div align="center" style="padding-top:10px">
  <table width="1000" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="320" align="left" valign="top">
      <form action="InsertUpdateTopic" method="post" enctype="multipart/form-data" name="myform" target="iframenull">
	      <div style="padding:3px">Chủ đề: <input name="title" type="text" style="width:200px" id="title" /></div>
          <div style="padding:3px">Hình đại diện: <input name="thumbnailfile" type="file" id="thumbnailfile" /></div>
          <div style="padding:3px">Ngày đăng: <input name="createdDate" type="text" /></div>
          <div style="padding-left:70px;color:#666">(02/02/2011 12:33)</div>          
          <div style="padding:3px">Chuyên mục: <select name="catId">
            <option value="7" selected="selected" style="font-weight:bold">Nghệ thuật</option>
			<option value="17">Điện ảnh</option>
            <option value="18">Âm nhạc</option>
            <option value="19">Thời trang</option>
            <option value="20">Star</option>            
            <option value="21">Làm đẹp</option>                        
            <option value="22">Chuyện lạ</option>                                    
      </select>
              <input type="hidden" name="action" id="action" />
              <input type="hidden" name="topicId" id="topicId" />
            <input type="hidden" name="thumbnail" id="thumbnail" />
          </div>          
          <div align="center" style="padding:3px"><input type="button" value="Thêm mới" onclick="preSubmit('insert')" />
          <input type="button" value="Cập nhật" onclick="preSubmit('update')" /></div>
      </form>
      <div id="topiclist" style="padding-top:10px;height:300px;width:300px;overflow:auto;border:1px solid #CCC;padding:3px"></div>
      </td>
      <td width="680" align="left" valign="top">
      <div>Link: <input name="link" type="text" id="link" style="width:200px" />
          <input type="button" name="button" id="button" value="Thêm link" onclick="addNewsToTopic()" />
      </div>
      	<div id="newslist" style="padding:20px;background-color:#F3F3F3;width:400px;height:400px;overflow:auto"></div>
      </td>
    </tr>
  </table>
</div>
<div class="commonfloatdiv" id="changepass_div" style="width:260px;height:90px;z-index:100;display:none">
Mật khẩu cũ: &nbsp;&nbsp;
<input name="old_password" type="old_password" /><br />
Mật khẩu mới: <input name="password" type="password" /><br />
Nhập lại:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input name="c_password" type="password" /><br />
<div align="center"><input name="" type="button" value="Cập nhật" onclick="updatePassword()"/><input name="" type="button" value="Đóng" onclick="$('changepass_div').style.display='none'"/></div>
</div>
</body>
</html>
